import 'package:boss/color_constant.dart';
import 'package:boss/textStyle/text_style.dart';
import 'package:hi_common/hi_common.dart';
import 'package:flutter/material.dart';

class ClassificationManagementChip extends StatelessWidget {
  final String title;
  const ClassificationManagementChip(this.title, {Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Row(
      children: <Widget>[
        Container(
          transform: Matrix4.translationValues(
            10.w,
            ScreenUtil.instance.setWidth(-4),
            0,
          ),
          constraints: BoxConstraints(
            minWidth: 60,
          ),
          height: 36.w,
          padding: EdgeInsets.symmetric(
            horizontal: 10.w,
          ),
          margin: EdgeInsets.symmetric(
            horizontal: 10.w,
          ),
          alignment: Alignment.center,
          decoration: BoxDecoration(
            border: Border.all(
              color: ColorConstant.ffcc,
              width: 1.px,
            ),
            borderRadius: BorderRadius.circular(
              36.w,
            ),
          ),
          child: Text(
            title,
            style: TextStyleConstant().normal_3_22,
          ),
        )
      ],
      mainAxisSize: MainAxisSize.min,
    );
  }
}
